// samsting : this file is auto create.

#include "Ess/2014-08-28/DescribeScheduledTasksResponse.h"

namespace aliyun { namespace Ess {

DescribeScheduledTasksResponse::DescribeScheduledTasksResponse() {
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetScheduledTaskId(void) const {
  return ScheduledTaskId_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetScheduledTaskName(void) const {
  return ScheduledTaskName_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetDescription(void) const {
  return Description_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetScheduledAction(void) const {
  return ScheduledAction_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetRecurrenceEndTime(void) const {
  return RecurrenceEndTime_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetLaunchTime(void) const {
  return LaunchTime_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetRecurrenceType(void) const {
  return RecurrenceType_;
}

const string& DescribeScheduledTasksResponse::ScheduledTask::GetRecurrenceValue(void) const {
  return RecurrenceValue_;
}

int DescribeScheduledTasksResponse::ScheduledTask::GetLaunchExpirationTime(void) const {
  return LaunchExpirationTime_;
}

bool DescribeScheduledTasksResponse::ScheduledTask::GetTaskEnabled(void) const {
  return TaskEnabled_;
}

const std::vector<DescribeScheduledTasksResponse::ScheduledTask>& DescribeScheduledTasksResponse::GetScheduledTasks(void) const {
  return ScheduledTasks_;
}

int DescribeScheduledTasksResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int DescribeScheduledTasksResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeScheduledTasksResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* DescribeScheduledTasksResponse::BaseKey(void) {
  return "DescribeScheduledTasksResponse";
}

void DescribeScheduledTasksResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ScheduledTasks__length = 0;
  UnmarshallerInt(ScheduledTasks__length, response_map, "DescribeScheduledTasksResponse.ScheduledTasks.Length");
  if(ScheduledTasks__length >= 0) {
    ScheduledTasks_.resize(ScheduledTasks__length);
    for(int i1 = 0; i1 < ScheduledTasks__length; i1++) {
      UnmarshallerString(ScheduledTasks_[i1].ScheduledTaskId_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].ScheduledTaskId");
      UnmarshallerString(ScheduledTasks_[i1].ScheduledTaskName_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].ScheduledTaskName");
      UnmarshallerString(ScheduledTasks_[i1].Description_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].Description");
      UnmarshallerString(ScheduledTasks_[i1].ScheduledAction_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].ScheduledAction");
      UnmarshallerString(ScheduledTasks_[i1].RecurrenceEndTime_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].RecurrenceEndTime");
      UnmarshallerString(ScheduledTasks_[i1].LaunchTime_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].LaunchTime");
      UnmarshallerString(ScheduledTasks_[i1].RecurrenceType_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].RecurrenceType");
      UnmarshallerString(ScheduledTasks_[i1].RecurrenceValue_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].RecurrenceValue");
      UnmarshallerInt(ScheduledTasks_[i1].LaunchExpirationTime_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].LaunchExpirationTime");
      UnmarshallerBool(ScheduledTasks_[i1].TaskEnabled_, response_map, "DescribeScheduledTasksResponse.ScheduledTasks["+string_ValueOfInt(i1)+"].TaskEnabled");
    } // for(int i1 = 0; i1 < ScheduledTasks__length; i1++) {
  } // if(ScheduledTasks__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "DescribeScheduledTasksResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeScheduledTasksResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "DescribeScheduledTasksResponse.PageSize");
}


} } // namespace aliyun { namespace Ess {

// end of file 
